namespace RAYTRACING {
    /**
     * 场景节点
     */
    export class Node {
        private _material: Material;
        private _mesh: Mesh;

        private _position: Vector3 = new Vector3();
        private _scale: Vector3 = new Vector3(1,1,1);
        private _rotation: Quaternion = new Quaternion();

        public get mesh() { return this._mesh; }
        public set mesh(val) { this._mesh = val; }
        public get material() { return this._material; }
        public set material(val) { this._material = val; }

        public get position() { return this._position; }
        public get scale() { return this._scale; }
        public get rotation() { return this._rotation; }
    }
}